home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / stdwin / Tools / memcpy.c < prev    next >
Text File  |  1995-12-21  |  131b  |  13 lines

  1. char *
  2. memcpy(dst, src, n)
  3.     char *dst;
  4.     char *src;
  5.     int n;
  6. {
  7.     char *d= dst;
  8.     while (--n >= 0) {
  9.         *dst++ = *src++;
  10.     }
  11.     return d;
  12. }
  13.